package com.ruoyi.project.remake.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 收款模块对象 t_pay_ment
 *
 * @author 孙山伟
 * @date 2023-03-28
 */
public class PayMent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 找零 */
    @Excel(name = "找零")
    private Double giveChange;

    /** 已收金额 */
    @Excel(name = "已收金额")
    private Double received;

    /** 支付渠道 */
    @Excel(name = "支付渠道")
    private String payChanel;

    /** 总金额 */
    @Excel(name = "总金额")
    private Double totalMonney;

    /**  总页码 */
    @Excel(name = " 总页码")
    private Long totalPage;

    /** 单价 */
    @Excel(name = "单价")
    private Double unitPrice;

    /** 打印类型 */
    @Excel(name = "打印类型")
    private String printModel;

    /** 打印分数 */
    @Excel(name = "打印分数")
    private Long fileNumber;

    /** 病例id */
    @Excel(name = "病例id")
    private Long caseMainId;

    /** 主键 */
    private Long id;

    private String printClass;
    /**
     * 类型，病例查询模块为1，翻拍为2，复印申请为3
     */
    private String  type;

    public void setGiveChange(Double giveChange)
    {
        this.giveChange = giveChange;
    }

    public Double getGiveChange()
    {
        return giveChange;
    }
    public void setReceived(Double received)
    {
        this.received = received;
    }

    public Double getReceived()
    {
        return received;
    }
    public void setPayChanel(String payChanel)
    {
        this.payChanel = payChanel;
    }

    public String getPayChanel()
    {
        return payChanel;
    }
    public void setTotalMonney(Double totalMonney)
    {
        this.totalMonney = totalMonney;
    }

    public Double getTotalMonney()
    {
        return totalMonney;
    }
    public void setTotalPage(Long totalPage)
    {
        this.totalPage = totalPage;
    }

    public Long getTotalPage()
    {
        return totalPage;
    }
    public void setUnitPrice(Double unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public Double getUnitPrice()
    {
        return unitPrice;
    }
    public void setPrintModel(String printModel)
    {
        this.printModel = printModel;
    }

    public String getPrintModel()
    {
        return printModel;
    }
    public void setFileNumber(Long fileNumber)
    {
        this.fileNumber = fileNumber;
    }

    public Long getFileNumber()
    {
        return fileNumber;
    }
    public void setCaseMainId(Long caseMainId)
    {
        this.caseMainId = caseMainId;
    }

    public Long getCaseMainId()
    {
        return caseMainId;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("giveChange", getGiveChange())
            .append("received", getReceived())
            .append("payChanel", getPayChanel())
            .append("totalMonney", getTotalMonney())
            .append("totalPage", getTotalPage())
            .append("unitPrice", getUnitPrice())
            .append("printModel", getPrintModel())
            .append("fileNumber", getFileNumber())
            .append("caseMainId", getCaseMainId())
            .append("id", getId())
            .toString();
    }

    public String getPrintClass() {
        return printClass;
    }

    public void setPrintClass(String printClass) {
        this.printClass = printClass;
    }
}
